049 program control instructions

你好,在这个视频中,我们将学习程序控制指令。
Hello, in this video, we are going to learn program control instructions in.

好的,就是这样。
OK, that is it one.

触点及输出零点为零且输出为零点零。
Contact and output zero point zero and output is zero point zero.

好的,这是第一件事,现在我们可以再添加一个 M 零点一,好吗?
OK, this is the first thing and now we can add one more and M zero point one, OK?

现在在这里我们可以使用跳转输出。
And now in here we can use jump output.

好的,那么在程序控制操作区,你会看到跳转输出。
OK, so in program control operations area, you will see the jump output.

好的,我们可以把它放在这里,也许可以。
OK, we can put it to here and like maybe.

到这里,我可以给你展示一下。
To here, I can show it to you.

嗯,没关系,我会删除它。
Um, this is OK and I will delete it.

我将在这里使用这个跳转。
I will use this jump in here.

OK,那会发生什么,我们就跳,我们就跳到OK。
OK, then what will happen, we will jump, we will jump to OK.

现在,我们将跳到此处,因此标签将在此处,这将在此处。
Now, we will jump to here, so the label is going to be here and this will be.

跳跃,它将与这个类似,这个应该类似,在这里,想象你在其他程序中,像这样,嗯,零点二,我们有一个输出立方体,零点一。
Jump, it will be similar to this one and this one should be similar and in here, imagine you have in other programs and like this, um, zero point two and we have an output cube, zero point one.

想象一下这里有很多程序,在跳跃区,我们会做什么?
Imagine in here a lot of programs and in jump area, what will we do?

我们会做另一件事。
We will do another thing.

例如M零点三并作为输出零点。
For example, M zero point three and as an output to zero point.

拿。
To OK.

在这里,我们需要使用什么就需要使用return。
And in here, what we need to use we need to use return.

好吧,这是另一件事,我们需要在这里说。
OK, this is another thing return and we need to say here.

真的。
True.

这应该是真的。
This should be true.

好的,现在我们准备好了。
OK, now we are we are ready.

会发生什么?
What will happen?

程序循环将在这里继续、继续、继续。
The program cycle will continue, continue, continue on in here.

当我们启动我们的程序控制指令时,它就会从这里返回。
When we start our program control instructions, it will return from here.

它将从这里回到起点,然后回到这里,然后再开始。
It will return from here to the beginning and then to here and then to begin.

进而。
And then.

进而。
And then.

然后这就是循环,好吗?
And then this is the loop, OK?

我的队列的第二行。
And the second line to my queue.

我们需要下载这个。
And we need to do a download this one.

好的,这是。
OK, this is.

模拟器已经打开了。
Simulator is already opened.

好的,我们完成了下载,让我们开始监控,我们已经准备好了。
OK, we did a download and let's go to monitoring and we are ready.

所以这些在测试前和上课前都是合法的,好的,准备好了。
So these are legit before tested and before lesson and OK, ready.

我们准备好了。
We are ready.

现在,我们能做什么?
Now, what can we do?

我们可以使用这个坦克,好吗?
We can work with this tank, OK?

我们有一个输出。
And we have an output.

没关系。
It doesn't matter.

你会看到重要的事情。
And you will see the important thing.

这是绿地。
This is the green area.

向我们展示该网络是否正常工作,好吗?
Show us this network is working, OK?

这在此网络上是绿色的。
This is green on this network.

这条线正在工作,这条线正在运行。
This line is working and this line is running.

还有一个强大的,这里也有一个强大的。
And there is a powerful and there is a powerful and in here also.

还有这里。
And in here.

这里也有一个。
Here also one.

这是绿色的。
This is green.

所以有一个强大的网络正在发挥作用。
So there is a powerful and this network is working.

这是第一件事,也是第二件事,跳跃之后会发生什么呢?
This is the first thing and the second thing, what will happen after jump?

你会看到这一行。
You will see this line.

好的,如果我激活这个,我们就会有一个输出,好吗?
OK, if I activate this one, we have an output, OK?

这是绿色的,而且正在发挥作用,让我们开始吧。
And this is green and this is working and let's make it off.

现在,如果我激活 take 2 并运行跳转指令,会发生什么。
And now what will happen if I activate take two and run jump instruction.

你会看到这个绿色区域消失了。
You will see this green area is gone.

好的,现在这个网络就完成了。
OK, so this network is finished now.

所以这是行不通的。
So this is not working.

我正在激活。
I am activating.

到时候你就可以看到了。
You can see it then.

没有输出是因为什么原因。
There is no output because of why.

现在,在这条线之后,我们跳到这里。
Now after this line we are jumping to here.

好的,这是可以跳转到这里并从该区域继续的。
OK, this is the able jump to here and continue from this area.

所以这个区域,这些网络以及这个跳转标签和这个跳转标签之间,整个网络现在都是关闭的或者不活跃的。
So this area, these networks and between this jump label and this jump label, whole networks are now closed or not active.

好的,我们可以像这样使用跳转指令。
OK, so we can use jump instructions with like this.

您可以跳转到另一个网络而无需运行这些网络。
You can jump to another network without to run these networks.

如果我激活了这个,会发生什么?
If I this activated, what will happen?

该网络已激活。
This network is activated.

好的,你可以看到。
OK, you can see it.

所以我们有一个输出。
So we have an output.

如果我再次激活这个跳跃动作,这个网络就会消失。
If I activate again this jump into action, this network is gone.

那么它是什么?
So what is it?

该跳转指令是跳转到另一个网络,并且在该跳转区域之间,整个网络或整个程序都变为不活动、正常、或者被激活。
This jump instruction is jumping to another network and between this jumping area, the whole networks or whole programs are becomes inactive, OK, or is activated.

这就是我们在 Caporetto 中的程序控制指令的方式。
So this is how program control instructions are on our works in Caporetto.

我们如何使用跳转指令和返回指令以及跳转或标签?
And how can we use jump instruction and return instruction and jump or labels with like this?

好的,我已经完成这个视频了。
OK, I am finished for this video.

下一个视频见。
See you in the next video.